package com.psp.sp.service;

import com.psp.sp.controller.res.bean.RBillListBean;
import com.psp.sp.service.exception.ServiceException;
import com.psp.sp.service.impl.PageResult;

public interface BillService {

	/**
	 * 导出
	 * 
	 * @param uid
	 * @param type
	 */
	void export(String uid, Integer type);

	/**
	 * 资金列表
	 * 
	 * @param page
	 * @param pageSize
	 * @param uid
	 * @param type
	 * @return
	 */
	PageResult<RBillListBean> getList(int page, int pageSize, String uid, int type);

	/**
	 * 提现
	 * 
	 * @param uid
	 * @return
	 */
	boolean cash(String uid) throws ServiceException;

}
